package com.example.demo_feign;

import org.springframework.stereotype.Component;

//实现IFeignService并注入到Ioc容器中
@Component
public class IFeignServiceHystrix implements IFeignService{

    public String sayHi(String name) {
        return name + " say hi fail ";
    }

    public String sayHello(String name) {
        return name+ " say hello fail ";
    }
}
